High Performance Browser Networking

High Performance Browser Networking

  • Downloads:4280
  • Type:Epub+TxT+PDF+Mobi
  • Create Date:2021-06-28 09:53:20
  • Update Date:2025-09-06
  • Status:finish
  • Author:Ilya Grigorik
  • ISBN:1449344763
  • Environment:PC/Android/iPhone/iPad/Kindle

Summary

How prepared are you to build fast and efficient web applications? This eloquent book provides what every web developer should know about the network, from fundamental limitations that affect performance to major innovations for building even more powerful browser applications—including HTTP 2。0 and XHR improvements, Server-Sent Events (SSE), WebSocket, and WebRTC。

Author Ilya Grigorik, a web performance engineer at Google, demonstrates performance optimization best practices for TCP, UDP, and TLS protocols, and explains unique wireless and mobile network optimization requirements。 You’ll then dive into performance characteristics of technologies such as HTTP 2。0, client-side network scripting with XHR, real-time streaming with SSE and WebSocket, and P2P communication with WebRTC。


Deliver superlative TCP, UDP, and TLS performance
Speed up network performance over 3G/4G mobile networks
Develop fast and energy-efficient mobile applications
Address bottlenecks in HTTP 1。x and other browser protocols
Plan for and deliver the best HTTP 2。0 performance
Enable efficient real-time streaming in the browser
Create efficient peer-to-peer videoconferencing and low-latency applications with real-time WebRTC transports

Download

Reviews

Elliot

Terrific book about some basics of TCP, UDP, TLS, HTTP, WebRTC, WebSocket, etc。 It's a must-read for anybody whose job involves networking。 Terrific book about some basics of TCP, UDP, TLS, HTTP, WebRTC, WebSocket, etc。 It's a must-read for anybody whose job involves networking。 。。。more

Jack Kenlay

I think this book is a must-read for any web developer。mind = blown。It's full of content that I never thought to consider studying or to look at whilst optimising the performance of a website。 It's dense and I had to revisit a few pages to learn and remember, I think the author explains all of the concepts very well。You could argue it's a little outdated at 6 years old but I think having a foundation of underlying technologies and how the current ones improve on them。It brushes on a broad range I think this book is a must-read for any web developer。mind = blown。It's full of content that I never thought to consider studying or to look at whilst optimising the performance of a website。 It's dense and I had to revisit a few pages to learn and remember, I think the author explains all of the concepts very well。You could argue it's a little outdated at 6 years old but I think having a foundation of underlying technologies and how the current ones improve on them。It brushes on a broad range of concepts and technologies, which you can then continue to explore with a more specialist book。Although I bought the book because I like to have a physical copy, you can find it online for free on the author's website at https://hpbn。co/If you're a web developer and you don't have a reasonable understanding of: UDP, TCP, HTTP, HTTP/1。1, HTTP2, WebRTC, WebSockets。。。。- Then I think you should read this book。 Better than any online course I've done - and it's free!!! 。。。more

Dina Bogdan

This book is very good and I think that it should a must-read for every developer of web-applications, but also for developers of mobile applications。 It starts with the basics like Networking 101 where the most used transport protocols (IP, TCP, UDP) are discussed。 Be aware that this is not a protocols book, so don't look for very in-depth details for the protocols' part。After that talks about wireless networks, WiFi standards, and mobile networks as well。 This part was hard for me because I do This book is very good and I think that it should a must-read for every developer of web-applications, but also for developers of mobile applications。 It starts with the basics like Networking 101 where the most used transport protocols (IP, TCP, UDP) are discussed。 Be aware that this is not a protocols book, so don't look for very in-depth details for the protocols' part。After that talks about wireless networks, WiFi standards, and mobile networks as well。 This part was hard for me because I don't have an electrical engineering background。 This is the primary reason why I rate the book with 4/5 stars, rather than 5/5。Then it goes up in the ISO OSI stack talking about high-level protocols such as HTTP1。x, HTTP2, SSL/TLS, and how to optimize an application that leverages these protocols。 In the last chapter, there are discussed protocols such as XHR, SSE, WebSocket, and WebRTC。 I like that here in the last chapter the author tries to not take part in any protocol, exposing the consequences of using each of them。 I think that if you will be in face of choosing a protocol for your application, then you can easily use this book as a starting point for making the decision。 。。。more

Adrian Bercovici Simon

This review has been hidden because it contains spoilers。 To view it, click here。 This book can be easily considered one of the pillars of optimization。It is really incredible how the author begins the journey from the lowest OSI layer to the browser and the newest trends in realtime communication。The book starts with detailing each different medium (fiber, satellite , radio , wifi) we can nowadays use in order to send packets over the network。Interestingly enough he gets you into data transmission , signal processing , electronics and physics in order to give you an idea on This book can be easily considered one of the pillars of optimization。It is really incredible how the author begins the journey from the lowest OSI layer to the browser and the newest trends in realtime communication。The book starts with detailing each different medium (fiber, satellite , radio , wifi) we can nowadays use in order to send packets over the network。Interestingly enough he gets you into data transmission , signal processing , electronics and physics in order to give you an idea on how each medium impacts your app's performance and their hidden latencies。The book then shifts to TCP and UDP, TLS, TURN , ICE and STUN protocols。Awesome chapter , i would have never known the intricacies of TCP and its adaptability regarding the unreliability of the underlying network。(The congestion window mechanisms part was insane)。Another chapter is dedicated to wireless networks。The most interesting part was the one regarding mobile networks。The author does a terrific job by first explaining how your handset works , how it efficiently uses its battery in order to accomodate the ever consuming radio(s) (2G,3G,4G) , its complicated RRC (radio resource controller) protocol that manages the exchanges with the radio tower and handles your phone state-machine that manages your battery and its sensible connection with its radio。Then he goes overdrive detailing LTE radio networks , with their architecture and components (RAN, ETC-SGW,PGW,MME) , the way they manage to serve users that are in constant motion (MME) switching them from radio tower to radio tower , updating their position in realtime and performing billing and security checks ; the way they direct packets from the public internet to their gateways ,parse , corect them , resolve users , find corresponding tower and negotiate protocols with the user handset to in the end forward the message。Its really interesting that the principles of clustering and load balacing that apply nowadays to any web application component (database, api , web app) were present in the telecom domain for a very long time and more importantly , not only for software but for radio towers as well。The book then moves to HTTP , HTTPS , XHR(interesting history part here ) , SSE , Websockets and last but not least WebRTC。Even though the last part was detailed and interesting i found it nowhere close to the one regarding mobile networks( could be due to the fact that i was already familiar with the concepts)Awesome read and i recommend it wholeheartedly for anyone interested in building high performance applications。It is one of those reads which takes a hollistic view on all the layers and components involved to give you a neat idea on how to build something ! 。。。more

Gaurav

It's awesome book。 Anyone who really cares about network level optimization should read this book。 I never thought about the use cases that can harm the mobile users。 But with this book one can clearly understand why we should care about the mobile devices in terms of bandwidth。 It has great explanation about HTTP 2 which will optimize the application to another level。 The examples mentioned in the books are also great。 Examples are from real life applications such as how facebook handle chat me It's awesome book。 Anyone who really cares about network level optimization should read this book。 I never thought about the use cases that can harm the mobile users。 But with this book one can clearly understand why we should care about the mobile devices in terms of bandwidth。 It has great explanation about HTTP 2 which will optimize the application to another level。 The examples mentioned in the books are also great。 Examples are from real life applications such as how facebook handle chat messaging, how google Hangouts use webRTC etc。 I really enjoyed by reading this book 。。。more

Przemek Sroka

Great book, that every frontend engineer should read (actually all IT professionals working with distributed systems)。It is so good that it would be nice to have second edition as many things happened between 2013 and 2020 (some of the progress was lead by the author himself)。

Asiful Nobel

As the rating says, it was ok。 It is not outdated yet, but some of the advice to optimize performance are followed more commonly nowadays。 There is not much useful ideas in there for people who are working on application part of the network stack and their application does not deal with millisecond level of latency。

Michael Demchuk

This was very educational。 A lot of the complaints seem to be that they can't apply this to their code, but the point of the book was to understand the fundamentals of networking and how the entire system works。 I personally found the second half of the book was more useful, once you get to HTTP, Websockets, etc。 It's not always the funnest read, but it does the job。 This was very educational。 A lot of the complaints seem to be that they can't apply this to their code, but the point of the book was to understand the fundamentals of networking and how the entire system works。 I personally found the second half of the book was more useful, once you get to HTTP, Websockets, etc。 It's not always the funnest read, but it does the job。 。。。more

Akshat

This book will help you understand a lot of basic concepts around networking at a practical level。

李正堂

Excellent

Garrett

Lots of useful information, even in 2019。 Sometimes it can be dry and tough to get through, but I do appreciate the research that went into this。 I learned a lot from this book, especially about the lower-level networking stuff that I don't usually directly deal with as a web developer。 Lots of useful information, even in 2019。 Sometimes it can be dry and tough to get through, but I do appreciate the research that went into this。 I learned a lot from this book, especially about the lower-level networking stuff that I don't usually directly deal with as a web developer。 。。。more

Charles

Really well-written, detailed reference book on HTTP, SSL/TLS, TCP, mobile networks, basic web performance, websockets, etc。

Johannes

I wanted to like this book since Ilya Grigorik has written some great articles but unfortunately, it is too low-level and overly technical。 If you want to make your web site or mobile app faster, there are very few practical tips and too many long-winded explanations of network protocols or networking architectures。If all this information interests you, great! But if you want some practical real-life web performance examples, I recommend the book Web Performance in Action by Jeremy Wagner instea I wanted to like this book since Ilya Grigorik has written some great articles but unfortunately, it is too low-level and overly technical。 If you want to make your web site or mobile app faster, there are very few practical tips and too many long-winded explanations of network protocols or networking architectures。If all this information interests you, great! But if you want some practical real-life web performance examples, I recommend the book Web Performance in Action by Jeremy Wagner instead。 。。。more

Viktor

My tech background is Embedded Systems。I plan to update the review later。 For now, I can say the information is plastered in a thin layer through the chapters。 Lots of repetitions。 That may be good for someone who likes learning by repeating。 The book allows for consuming the information in very small amounts through the pages。 But for me it's boring。Most info till Chapter 13 can be summarized in "To improve web performance we need to minimize the latencies。"The last few chapters are full of cod My tech background is Embedded Systems。I plan to update the review later。 For now, I can say the information is plastered in a thin layer through the chapters。 Lots of repetitions。 That may be good for someone who likes learning by repeating。 The book allows for consuming the information in very small amounts through the pages。 But for me it's boring。Most info till Chapter 13 can be summarized in "To improve web performance we need to minimize the latencies。"The last few chapters are full of code examples。 。。。more

Naing Lin

While I reading it, a lot of flashback from my past appearing in the mind such as "only if I knew that before" or "what if I could supplement my arguments with this information" or so。 I would recommend to web developers with prior one year experience otherwise you will hand full with basic。 While I reading it, a lot of flashback from my past appearing in the mind such as "only if I knew that before" or "what if I could supplement my arguments with this information" or so。 I would recommend to web developers with prior one year experience otherwise you will hand full with basic。 。。。more

Simon

Certainly good to read and reference book! The web site is very colorful and more appealing。Many low level concepts for TCP/UDP/HTTP !Skip the mobile part though

Phúc Trần

The author excels at clarifying how the network works in a very concise, comprehensible book。

José

The book is a great introduction on web performance 。 Personally I wish I had read the book before, that’s in my opinion the great debt of IT technical books, they become exceeded too soon。 Really hope to see a review introducing Quic and HTTP3 soon。。。

Maria Ines

Must read for web developers。

Simon Eskildsen

Most comprehensive overview of web performance I've seen。 Book talks about Internet connectivity; fiber speeds and how LTE works。 Configuring your edge; TLS version, HTTP2, and TCP tuning, and, how to structure your assets for performance。 It doesn't go into server-side response time, databases, and so on, since that's highly specific to your stack。 It goes in depth with what's constant between web application。 I'd consider this necessary reading for those who are working on web performance, to Most comprehensive overview of web performance I've seen。 Book talks about Internet connectivity; fiber speeds and how LTE works。 Configuring your edge; TLS version, HTTP2, and TCP tuning, and, how to structure your assets for performance。 It doesn't go into server-side response time, databases, and so on, since that's highly specific to your stack。 It goes in depth with what's constant between web application。 I'd consider this necessary reading for those who are working on web performance, to consider the full picture when looking at performance, not just server response time。Favorite things I learned: One of the major battery drainers on a mobile device is the radio that we use for LTE/4G/3G。 Phones will usually turn this off after a few seconds of inactivity (think, like a car that turns off its engine when stopped at a light)。 The cell tower will maintain its TCP sessions, so pushing is effective—however, if you have a polling loop that sends a request just after the interval at which the radio turns off, you've got a terrible, terrible battery-draining software cocktail in play。 Ouch。TCP will go back to slow-start (i。e。 slow down) after a few seconds of inactivity (because TCP was designed for constant streams of data, not sprints, which is what HTTP is for)。 `tcp_slow_start_after_idle` disables this。 If you have a website that's over 15kib (how much data you can transfer in the slow-start congestion window), that's bad news for you。 Definitely bad news on a CDN。For 5 stars, I would've liked to have seen more performance studies。 How do performant applications differ? Why is it so important? We know it boosts conversion, but what are other examples? I was hoping to find a chapter on that in the book, but no dice。 I'd also have like to seen a chapter on how to prevent performance regressions。 This is a tricky thing to build in a fashion that'll age well and not be flaky。 。。。more

Cristi Minica

Good crash course on networking and high level performance optimizations in network applications。 The author puts key concepts in wider perspective。 Very good, would recommend to any web developer。

Jeffrey Ling

Great book about optimizing network performance。 Very accessible read even if you're not a networking expert。 I learned a lot about networking fundamentals by reading through it。 Great book about optimizing network performance。 Very accessible read even if you're not a networking expert。 I learned a lot about networking fundamentals by reading through it。 。。。more

Ankit

An easy to digest and extremely useful read on protocols, latency, bandwidth and much else you need to know to deliver great user experiences

Jaseem

Exceptional overview of the landscape

Debug

Really breaks things down。 I really how selective I could be with the chapters, able to bournce around quite a bit very easily。

Vlad Ardelean

A lot of information, very little repetitionFor me this book gets 4。5 stars, though I decided to rate it 5。The chapters that I liked the most are those on tcp, udp, mobile devices, http and webrtc。I did not know much about those topics (other than common generic 5-10 sentences)。 The chapter on http/2 was fine, but I think I knew more on that topic, so it didn't surprise me too much。I think that this book could have deserved another 200 pages, and that http/2 could have been detailed a little mor A lot of information, very little repetitionFor me this book gets 4。5 stars, though I decided to rate it 5。The chapters that I liked the most are those on tcp, udp, mobile devices, http and webrtc。I did not know much about those topics (other than common generic 5-10 sentences)。 The chapter on http/2 was fine, but I think I knew more on that topic, so it didn't surprise me too much。I think that this book could have deserved another 200 pages, and that http/2 could have been detailed a little more。 With the current page count, it feels like the book is neither clearly an introductory book, nor an in-depth guide。It was just fine however, and the amount of details was very much worth the time and price。Highly recommended! 。。。more

Adam

I didn't expect to get emotional over a book of internet protocols。 And yet。 It's honestly an inspiring read。 As we moved through various protocols, I could feel the half-century of engineering that went into designing all these procedures and standards - millions of hours of work across thousands of people。 It taught me a lot about different protocols, their tradeoffs and details。 I learned a lot about high performance networking。 But honestly, it just made me excited to be a network engineer。 I didn't expect to get emotional over a book of internet protocols。 And yet。 It's honestly an inspiring read。 As we moved through various protocols, I could feel the half-century of engineering that went into designing all these procedures and standards - millions of hours of work across thousands of people。 It taught me a lot about different protocols, their tradeoffs and details。 I learned a lot about high performance networking。 But honestly, it just made me excited to be a network engineer。 Really feel like I'm standing on the shoulders of giants。 。。。more

José

First part is pretty hardcore and left my head spinning, I liked the practical part better, some great stuff。

Alexander

Would love to see IPv6 related security and deployment aspects。

Ivan

Просто офигенная книга, к тому же еще и бесплатная。 Такого подробного и детального анализа всех узких мест производительности надо еще и поискать。 А тут еще в конце каждой главы есть краткий чек-лист с рекомендациями для настройки。 Вещь。